package com.wrs.business;

import java.util.Date;
import java.util.List;

public class Controller {

	/**
	 * @param args
	 */
	//This one will run procedurally and go thru all the steps of reconciliation
	public static void main(String[] args) {
		Date date1 = new Date();
		Date date2 = new Date();
		Date date3 = new Date();
		//Dbtr dbtr = new Dbtr( 10 , 20 , 30 , 40 , 50 , 60 , date1 , false , 70 , 80 , date2 , "state" , date3 ) ;
		//System.out.println(dbtr.getTradeState());
		
		JournalFileDAO journalFileDao = new JournalFileDAOFileImpl();
		List<Jfr> jfrs;
		jfrs = journalFileDao.getJfrs();
		
	//	TDBDAO tdbDao = new TDBDAOFileImpl();
	//	List<Dbtrm> dbtrms;
	//	dbtrms = tdbDao.getDbtrs();
		
		for (int i = 0; i < 4; i++){
			Jfr j = jfrs.get(i);
			System.out.println( i + 1 + ") " + j.toString() );
			}
		}
//		DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
		
//		TimeZone.setDefault(TimeZone.getTimeZone("UTC"));
//		Date initDate = new Date();
//		DBTR rbs1 = new DBTR(320, 10, initDate);
		
//		System.out.println("You have made a trade. Valued at: "  + rbs1.getValue() +  '\n' +  dateFormat.format(rbs1.getDate()));
		
		//Date date1 = rbs1.getDate();

	}


